package com.alks.entity.data.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 * 指令领料明细
 * </p>
 *
 * @author ms
 * @since 2023-07-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("PC_DRAW_DETAIL")
@ApiModel(value="PcDrawDetail对象", description="指令领料明细")
public class PcDrawDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "公司ID")
    private String companyId;

    private String stockNo;

    @ApiModelProperty(value = "订单号")
    private String slipNo;

    @ApiModelProperty(value = "指令")
    private String lotNo;

    @ApiModelProperty(value = "材料ID")
    private String mtlNo;

    @ApiModelProperty(value = "材料名")
    private String mtlName;

    @ApiModelProperty(value = "材料颜色")
    private String mtlColor;

    @ApiModelProperty(value = "材料规格")
    private String mtlSpec;

    @ApiModelProperty(value = "材料单位")
    private String mtlUnit;

    @ApiModelProperty(value = "替代后物料ID(规范化物料编码后可以投入使用)")
    private String mtlNo2;

    @ApiModelProperty(value = "取料数量")
    private Float reqQty;

    @ApiModelProperty(value = "实际数量")
    private Float actQty;

    @ApiModelProperty(value = "订单日期")
    private LocalDate slipDate;

    @ApiModelProperty(value = "部门ID")
    private String deptNo;

    @ApiModelProperty(value = "部门名字")
    private String deptName;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime sysDate;

    @ApiModelProperty(value = "创建人")
    private String sysUser;

    @ApiModelProperty(value = "取料类型")
    private String slipType;

    @ApiModelProperty(value = "补料单号")
    private String supplementNo;

    @ApiModelProperty(value = "备注")
    private String remark;

    private String cancelFlag;

    private LocalDateTime cancelDate;

    private String cancelUser;

    private String prnFlag;

    private BigDecimal printTime;

    private LocalDateTime printDate;

    private String cfmFlag;

    private LocalDateTime cfmDate;

    private String cfmUser;

    private String drawDept;


}
